//
//  FeaturedTwoData.m
//  TodatPlay
//
//  Created by dllo on 16/08/30
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "FeaturedTwoData.h"
#import "FeaturedTwoAdvlist.h"

@implementation FeaturedTwoData

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"advList"]) {
        NSMutableArray<FeaturedTwoAdvlist *> *array = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            FeaturedTwoAdvlist *advList = [FeaturedTwoAdvlist modelWithDic:dic];
            [array addObject:advList];
        }
        self.advList = array;
    }
}
@end
